package com.sys.Utils;

import javax.servlet.http.HttpServletRequest;

public class ContextUtils {
	
	public static final String APP_CONTEXT_REQUEST_ATTR = "appContext";	//context属性
	
	/**
	 * 获取当前项目path路径
	 * @param request
	 * @return
	 */
	public static String getAppContext(HttpServletRequest request) {
			return request.getContextPath();
	}
	
}
